package com.wsx.rpc.zikpin.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wangshuaixin
 * @Title: com.wsx.rpc.zikpin.controller.ProviderController
 * @Description: TODO
 * @date 2018/11/06
 */
@RestController
public class ProviderController {


    @RequestMapping(
            value = "/say/{name}",
            method = {RequestMethod.GET}
    )
    public String say(@PathVariable String name) {
        return "hello" + name;
    }
}
